using System;
using LProject.XNA.RemoteController;
using Microsoft.Xna.Framework;

namespace FITClub.Episode1.Controller
{
    internal class LocalTouchPlayer : APlayer
    {
        public TouchController Controller { get; private set; }

        public LocalTouchPlayer(string name, TouchController controller)
            : base(name)
        {
            this.Controller = controller;
        }

        public override void Update()
        {
            base.Update();
            this.ControllerStateActual = this.Controller.GetState();
        }

        public override void Dispose()
        {
        }
    }
}